// JavaScript Document

function DeleteFile(){
	this.TargetSpan="";
	this.Del=DeleteFile_DelSpan;
}

function DeleteFile_DelSpan(){
	var Target=document.getElementById(this.TargetSpan);
	Target.innerHTML="";
}

var FormElementValues=Array();

function SaveFormValues(formname){
	for (var i = 0; i < document.forms[formname].elements.length; i++) {
		//if (document.entryForm.elements[i].type == "text") {
			FormElementValues[i]=document.forms[formname].elements[i].value;
		//}
	}	
}

function ResetFormValues(formname){
	for (var i = 0; i < document.forms[formname].elements.length; i++) {
		//if (document.entryForm.elements[i].type == "text") {
			if(FormElementValues[i]!=null)
				document.forms[formname].elements[i].value=FormElementValues[i];
		//}
	}	
}